#ifndef __CGUIOBJECT_H__
#define __CGUIOBJECT_H__
#include "..\Includes\IGUIObject.h"
#include "..\Content\IRenderable.h"

namespace GUI
{
class CGUIObject : public virtual IGUIObject, public IRenderable
{
public:
  virtual void clean(){}
  virtual void render(){};
  virtual void onLostDevice(){};
  virtual void onResetDevice(){};
  
  virtual void setPosition(const float x, const float y);
  virtual void setVisible(const bool v);
  virtual void setOccupacity(const float o);
  virtual bool isVisible();
  virtual float getPosX();
  virtual float getPosY();
  virtual float getOccupacity();
  virtual int getHeight();
  virtual int getWidth();


  CGUIObject(int w, int h);
  virtual ~CGUIObject(){}

protected:
  
float posX,posY;
  float occupacity;
  bool visible;
  int width,height;

};
}

#endif